#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :

"""
{key:value}
"""

student_info = {'id': 1, 'name': 'micah', 'age': 22, 'sex': 'male'}
print(student_info['id'])
print(student_info['name'])
print(student_info['age'])

# 如果当前这个学生的信息比较多
student_info_2 = {
    'id': 2,
    'name': 'jia.chen',
    'age': 22,
    'sex': 'male',
    'hobby': 'football',
    'address': 'beijing',
    'phone': '13811111111',
    'email': '123@qq.com',
    'score': {'语文': 90, '数学': 98, '英语': 95}
}

print(student_info_2['score']['数学'])
